package cn.lcc.controller.fallback;

import cn.lcc.domain.Order;
import com.alibaba.csp.sentinel.slots.block.BlockException;

public class FallBackUtilFactory {

    public static Order userFallBack( Long id, BlockException e){
        e.printStackTrace();

        return new Order(-1L,"您访问的数据太热门，请稍后再试",null);
    }
}
